package com.dream.cgomall.dto;

import lombok.Data;

@Data
public class TroGoodDTO {
    private int id;//主键id
    private String name;//商品名称
    private double price;//商品价格
    private String pic;//商品图片
    private String Attr;//商品规格
    private int Goodnum;//商品数量
    private boolean choose;//判断是否选中


    public TroGoodDTO() {
    }

    public TroGoodDTO(int id,String name, double price, String pic, String attr, int goodnum,boolean choose) {
        this.id=id;
        this.name = name;
        this.price = price;
        this.pic = pic;
        this.Attr = attr;
        this.Goodnum = goodnum;
        this.choose=choose;
    }
}
